package com.bite.system.elasticsearch;


import com.bite.system.domain.question.es.QuestionES;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface QuestionRepository extends ElasticsearchRepository<QuestionES, Long> {
    //根据难度来搜索,这个相当于人工命名按照规则写出来，会自动给你生成语句，然后发给elsticsearch,还有一个分页逻辑(很高能的spring.data)

}

